﻿package java_45;

public class customerZeng {

	String[] customer = new String[30];
	public boolean addName(String name,int nianling){
		for (int i = 0; i < customer.length; i++) {
			if (customer[i]==null) {
				customer[i]=name;

				return true;

			}
		}
		return false;
	}
	public void showName(){
		System.out.println("客户信息:\n" + addName(null, 0));
	}
}
